import request from '@/utils/request'


/**近期全部数据  */
export function skuCheckRecordList(params) {
  return request({
    url: `/distribution/purchaseSkuSerializable/getRecentList`,
    params
  })
}

/**固定近期全部数据  */
export function getFixedRecentList(params) {
  return request({
    url: `/distribution/purchaseSkuSerializable/getFixedRecentList`,
    params
  })
}

/**已过期数据  */
export function getExpiredRecentList(params) {
  return request({
    url: `/distribution/purchaseSkuSerializable/getExpiredRecentList`,
    params
  })
}

/**序列号报废出库  */
export function scrapOutWarehouse(data) {
  return request({
    url: `/distribution/purchaseSkuSerializable/scrapOutWarehouse`,
    method: 'post',
    data
  })
}

/**获取列表序列号数据  */
export function getRecentSerializableList(params) {
  return request({
    url: `/distribution/purchaseSkuSerializable/getRecentSerializableList`,
    params
  })
}


